package vn.ikame.android.utils;

import java.util.Random;

public class CRandom {
	
	private static Random randInt = null;
	
	public static int getRandom(int min, int max) {
		if(randInt == null){
			randInt = new Random();
		}
		int b = min - 1;
		while (b < min) {
			b = randInt.nextInt(max);
		}
		return b;
	}
}
